package com.pandora.loan.home.dao;

import com.pandora.loan.home.entity.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author developer
 */
public interface AccountDao {

    /**
     * queryById
     * @param id id
     * @return Account
     */
    Account queryById(@Param("id") long id);

    /**
     * queryByStatus
     * @param status status
     * @return AccountList
     */
    List<Account> queryByStatus(@Param("status") int status);
}
